<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>${site.name} - Powered by JEECMS</title>
<link href="${resSys}/front.css" rel="stylesheet" type="text/css"/>
<script src="${resSys}/jquery.js" type="text/javascript"></script>
<script src="${resSys}/front.js" type="text/javascript"></script>
<link href="/${res}/css/layout.css" rel="stylesheet" type="text/css"/>
<script src="/${res}/js/common.js" type="text/javascript"></script>
<script type="text/javascript">
$(function() {
	Cms.siteFlow("${base}", location.href, document.referrer);
});
</script>
</head>

<body>
[#include "../include/header_top.html"/]
[#include "../include/header_nav.html"/]
<div id="main">
<div class="page2 position1"> 您现在正在浏览： <a href="${base}/">首页</a> &raquo; 网络调查</div>

<!--cjbd_begin-->
<div class="page2 box">
  <div class="w720 fl">
    <div class="box"></div>
    <div class="left_div1 box">
		<div class="w96" style="min-height:800px;">
		    <div class="search_msg">
				投票主题：<span class="red">${subTopic.voteTopic.title?html}</span>， 总参与人数：<span class="red">${subTopic.voteTopic.totalCount}</span>
				<a href="${base}/vote_result.jspx?voteId=${subTopic.voteTopic.id}" target="_blank">返回</a>
			</div>
           <form id="tableForm" action="vote_reply_view.jspx" method="post">
            [#if pagination.list?size gt 0]
           <table width="650" border="0" align="center" cellpadding="0" cellspacing="0">
            [#list pagination.list as c]
             <tr>
		         <td width="620" bgcolor="#F9F9F9">${c.reply?html}</td>
		     </tr>
            [/#list]
            </table>
            <input type="hidden" name="pageNo"/>
            <table width="100%" border="0" cellpadding="0" cellspacing="0"><tr><td align="center" class="pn-sp">
		                共 ${pagination.totalCount} 条&nbsp;
		                每页 ${pagination.pageSize} 条&nbsp;
		                <input type="button" value="首 页" onclick="_gotoPage('1');"[#if pagination.firstPage] disabled="disabled"[/#if]/>
		                <input type="button" value="上一页" onclick="_gotoPage('${pagination.prePage}');"[#if pagination.firstPage] disabled="disabled"[/#if]/>
		                <input type="button" value="下一页" onclick="_gotoPage('${pagination.nextPage}');"[#if pagination.lastPage] disabled="disabled"[/#if]/>
		                <input type="button" value="尾 页" onclick="_gotoPage('${pagination.totalPage}');"[#if pagination.lastPage] disabled="disabled"[/#if]/>&nbsp;
		                当前 ${pagination.pageNo}/${pagination.totalPage} 页 &nbsp;转到第<input type="text" id="_goPs" style="width:50px" onfocus="this.select();" onkeypress="if(event.keyCode==13){$('#_goPage').click();return false;}"/>页
		                <input id="_goPage" type="button" value="转" onclick="_gotoPage($('#_goPs').val());"[#if pagination.totalPage==1] disabled="disabled"[/#if]/>
		            </td>
		            </tr>
            </table>
            <script type="text/javascript">
            function _gotoPage(pageNo) {
                try{
                    var tableForm = document.getElementById("tableForm");
                    $("input[name=pageNo]").val(pageNo);
                    tableForm.action="mycomments.jspx";
                    tableForm.onsubmit=null;
                    tableForm.submit();
                } catch(e) {
                    alert('_gotoPage(pageNo)方法出错');
                }
            }
            </script>
            [#else]
                <div>暂无回复</div>
            [/#if]
            </form>
		</div>
    </div>
    <div class="left_low"></div>	
  </div>  
  
  <div class="w250 fr">
   进行中调查<br />
    [@cms_vote]
    	${tag_bean.title?html}<br/>
    [/@cms_vote]
    往期调查<br />
    [@cms_vote_list  siteId=site.id]
		[#list tag_list as vote]
			<li><a href="${base}/vote.jspx?voteId=${vote.id}">${vote.title?html}</a>&nbsp;[#if vote.endTime??]${vote.endTime?string("yyyy-MM-dd")}[/#if]</li>
		[/#list]
	[/@cms_vote_list]
  </div>
</div>
<!--cjbd_end-->
</div>
<div id="wrapper">
[#include "../include/footer_links_bar.html"/]
[#include "../include/footer.html"/]
</div>
</body>
</html>